package com.syw.entity;

import java.math.BigDecimal;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * SywEmp entity. @author MyEclipse Persistence Tools
 */

public class SywEmp implements java.io.Serializable {

	// Fields

	private int id;
	private SywDept sywDept;
	private SywPotision sywPotision;
	private String name;
	private String gender;
	private int age;
	private String card;
	private String telphone;
	private String address;
	private Double salary;
	private Double realsalary;
	private String estate;
	private Date bdate;
	private Date edate;
	private Set sywUsers = new HashSet(0);
	private Set sywRewardrecords = new HashSet(0);
	private Set sywTechnicians = new HashSet(0);

	// Constructors

	/** default constructor */
	public SywEmp() {
	}

	/** minimal constructor */
	public SywEmp(SywDept sywDept, SywPotision sywPotision, String name,
			String gender, int age, String card, String telphone,
			String address, Double salary, Double realsalary, String estate) {
		this.sywDept = sywDept;
		this.sywPotision = sywPotision;
		this.name = name;
		this.gender = gender;
		this.age = age;
		this.card = card;
		this.telphone = telphone;
		this.address = address;
		this.salary = salary;
		this.realsalary = realsalary;
		this.estate = estate;
	}

	/** full constructor */
	public SywEmp(SywDept sywDept, SywPotision sywPotision, String name,
			String gender, int age, String card, String telphone,
			String address, Double salary, Double realsalary, String estate,
			Date bdate, Date edate, Set sywUsers, Set sywRewardrecords,
			Set sywTechnicians) {
		this.sywDept = sywDept;
		this.sywPotision = sywPotision;
		this.name = name;
		this.gender = gender;
		this.age = age;
		this.card = card;
		this.telphone = telphone;
		this.address = address;
		this.salary = salary;
		this.realsalary = realsalary;
		this.estate = estate;
		this.bdate = bdate;
		this.edate = edate;
		this.sywUsers = sywUsers;
		this.sywRewardrecords = sywRewardrecords;
		this.sywTechnicians = sywTechnicians;
	}

	// Property accessors

	public int getId() {
		return this.id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public SywDept getSywDept() {
		return this.sywDept;
	}

	public void setSywDept(SywDept sywDept) {
		this.sywDept = sywDept;
	}

	public SywPotision getSywPotision() {
		return this.sywPotision;
	}

	public void setSywPotision(SywPotision sywPotision) {
		this.sywPotision = sywPotision;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getGender() {
		return this.gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public int getAge() {
		return this.age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public String getCard() {
		return this.card;
	}

	public void setCard(String card) {
		this.card = card;
	}

	public String getTelphone() {
		return this.telphone;
	}

	public void setTelphone(String telphone) {
		this.telphone = telphone;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Double getSalary() {
		return this.salary;
	}

	public void setSalary(Double salary) {
		this.salary = salary;
	}

	public Double getRealsalary() {
		return this.realsalary;
	}

	public void setRealsalary(Double realsalary) {
		this.realsalary = realsalary;
	}

	public String getEstate() {
		return this.estate;
	}

	public void setEstate(String estate) {
		this.estate = estate;
	}

	public Date getBdate() {
		return this.bdate;
	}

	public void setBdate(Date bdate) {
		this.bdate = bdate;
	}

	public Date getEdate() {
		return this.edate;
	}

	public void setEdate(Date edate) {
		this.edate = edate;
	}

	public Set getSywUsers() {
		return this.sywUsers;
	}

	public void setSywUsers(Set sywUsers) {
		this.sywUsers = sywUsers;
	}

	public Set getSywRewardrecords() {
		return this.sywRewardrecords;
	}

	public void setSywRewardrecords(Set sywRewardrecords) {
		this.sywRewardrecords = sywRewardrecords;
	}

	public Set getSywTechnicians() {
		return this.sywTechnicians;
	}

	public void setSywTechnicians(Set sywTechnicians) {
		this.sywTechnicians = sywTechnicians;
	}

}